package pers.xds.wtuapp.web.service.exception;

import pers.xds.wtuapp.errorcode.ResponseCode;
import pers.xds.wtuapp.errorcode.ResponseCodeConstant;

/**
 * @author DeSen Xu
 * @date 2023-02-14 23:20
 */
public class RateLimitException extends ServiceException{
    public RateLimitException(String message) {
        super(ResponseCodeConstant.RATE_LIMIT, message);
    }

    public RateLimitException() {
        super(ResponseCode.RATE_LIMIT);
    }
}
